package com.luxuewen.sxa.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum SexEnum {
    FEMALE(0, "女性"), MALE(1,"男性");

    @EnumValue
    private final int sex;

    @JsonValue
    private final String sexText;

    SexEnum(int sex, String sexText) {
        this.sex = sex;
        this.sexText = sexText;
    }
}
